package com.gitee.classload;

/**
 * @author ming.yan-1
 * @version V1.0
 * @Title com.gitee.classload
 * @Description
 * @date 2018/9/6  下午6:54
 */
public class Demo {

    public static void main(String[] args) throws ClassNotFoundException, IllegalAccessException, InstantiationException {
        MyClassLoader myClassLoader = new MyClassLoader("/Users/yp-pd-7027/selfCode/gitee/java-skills/classload/src/main/java/");
        Class<?> c = myClassLoader.loadClass("com.gitee.classload.WaitForLoad");
        System.out.println(c.newInstance().toString());
    }
}
